package com.example.roamio.service;


import com.example.roamio.dto.EmailPasswordDTO;
import com.example.roamio.common.Result;
import com.example.roamio.dto.EmailRegisterDTO;

public interface AuthService {
    Result<String> sendCode(String email);
    Result<String> loginByPassword(EmailPasswordDTO dto);
    Result<String> register(EmailRegisterDTO dto);
}